package com.army.stock.service;

import com.army.stock.domain.ArmyCategory;
import com.javalife.common.domain.page.PaginatedArrayList;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/29.
 * 商品类别
 */
public interface ArmyCategoryService {

    public PaginatedArrayList getArmyCategoryPageInfo(int currentPage, int pageSize, Map<String, Object> map);

    public void addArmyCategory(ArmyCategory armyCategory);

    public ArmyCategory getArmyCategoryById(Long id);

    public void updateArmyCategory(ArmyCategory armyCategory);

    public Integer delArmyCategory(Long id);

    public List<ArmyCategory> getAllArmyCategories();

    public ArmyCategory getArmyCategoryByIdFromCache(Long categoryId);


}
